<template>
	<view class="content">
		<view class="row-input">
			<image mode="aspectFit" src="./static/login1_account.png"></image>
			<input placeholder="账号或邮箱" maxlength="18" />
		</view>
		<view class="row-input">
			<image mode="aspectFit" src="./static/login1_password.png"></image>
			<input placeholder="请输入您的密码" maxlength="18" />
		</view>
		<view class="login-btn">
			确认登录
		</view>
		<view class="function-link">
			<text @click="register">新用户注册</text>
			<text @click="forget">忘记密码</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		onLoad() {

		},
		methods: {
			// 注册
			register() {
				uni.navigateTo({
					url: '/pages/login1/register'
				})
			},

			// 忘记密码
			forget() {
				uni.navigateTo({
					url: '/pages/login1/forget'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		padding: 100rpx 60rpx;
		display: flex;
		flex-direction: column;
	}

	.row-input {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		padding-top: 30rpx;
		height: 100rpx;
		border-bottom: 1rpx solid #818181;

		image {
			width: 45rpx;
			height: 45rpx;
		}

		input {
			font-size: 30rpx;
			padding-left: 30rpx;
			width: 500rpx;
		}
	}

	.login-btn {
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 10rpx;
		margin-top: 80rpx;
		height: 80rpx;
		font-size: 30rpx;
		background-color: #fd661f;
		color: #FFFFFF;
	}

	.function-link {
		margin: 0 20rpx;
		height: 70rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 26rpx;
		color: #fd661f;
	}
</style>
